package com.quasar.hpatient.module.mine_portfolio;

import android.support.v7.widget.RecyclerView;

import com.quasar.hpatient.R;

import lib.quasar.base.frame.BaseActivity;
import lib.quasar.widget.menu.NavigationView;

/**
 * description: 我 ==> 我的档案 ==> 档案袋
 * created by kalu on 2018/7/16 11:31
 */
public class MinePortfolioActivity extends BaseActivity<MinePortfolioPresenter> implements MinePortfolioView {

    @Override
    public int initView() {
        return R.layout.activity_mine_portfolio;
    }

    @Override
    public void initDataLocal() {

        final NavigationView menu = findViewById(R.id.mine_file_bag_menu);
        menu.setOnBackChangeListener(() -> onBackPressed());

        final RecyclerView recycler = findViewById(R.id.mine_file_bag_list);
        getPresenter().initList(this, recycler);
    }

    @Override
    public void initDataNet() {

        final RecyclerView recycler = findViewById(R.id.mine_file_bag_list);
        getPresenter().fileBagList(this, recycler);
    }

    @Override
    public void showPhoto() {

    }
}